#ifndef INCLUDED_JObject
#define INCLUDED_JObject

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

#include <haxe/Public.h>
HX_DECLARE_CLASS0(JClass)
HX_DECLARE_CLASS0(JConstant)
HX_DECLARE_CLASS0(JField)
HX_DECLARE_CLASS0(JObject)
HX_DECLARE_CLASS1(haxe,Public)


class JObject_obj : public hx::Object{
	public:
		typedef hx::Object super;
		typedef JObject_obj OBJ_;
		JObject_obj();
		Void __construct();

	public:
		static hx::ObjectPtr< JObject_obj > __new();
		static Dynamic __CreateEmpty();
		static Dynamic __Create(hx::DynamicArray inArgs);
		~JObject_obj();

		HX_DO_RTTI;
		static void __boot();
		static void __register();
		void __Mark(HX_MARK_PARAMS);
		void __Visit(HX_VISIT_PARAMS);
		inline operator ::haxe::Public_obj *()
			{ return new ::haxe::Public_delegate_< JObject_obj >(this); }
		hx::Object *__ToInterface(const type_info &inType);
		::String __ToString() const { return HX_CSTRING("JObject"); }

		::String type; /* REM */ 
		Array< ::JField > fields; /* REM */ 
		bool w; /* REM */ 
		virtual Void init( ::JClass c);
		Dynamic init_dyn();

		virtual ::String toString( );
		Dynamic toString_dyn();

		virtual ::JField getField( ::JConstant cn);
		Dynamic getField_dyn();

};


#endif /* INCLUDED_JObject */ 
